package com.example.doer.reading.AppDataModel;

import com.example.doer.reading.R;

/**
 * Created by doer on 2017/7/25.
 */

public class ThemeNameToLogo {
    public static int getLogo(String themeName) {
        if (themeName.equals("散文")) {
            return R.mipmap.image1;
        } else if (themeName.equals("小说")) {
            return R.mipmap.image2;
        } else if (themeName.equals("文学")) {
            return R.mipmap.image3;
        } else if (themeName.equals("玄幻")) {
            return R.mipmap.image4;
        } else if (themeName.equals("文艺")) {
            return R.mipmap.image5;
        } else if (themeName.equals("修真")) {
            return R.mipmap.image6;
        } else if (themeName.equals("健康")) {
            return R.mipmap.image7;
        } else if (themeName.equals("经管")) {
            return R.mipmap.image8;
        }
        return 0;
    }
}